/**
 * @author liangxi
 * @since 2023/12/21
 */

#ifndef DESIGNPATTERN_GARAGEDOOR_H
#define DESIGNPATTERN_GARAGEDOOR_H

#include <iostream>

namespace CommandSR {

    /**
     * 在餐厅中相当于厨师，知道具体应该怎么做
     */
    class GarageDoor {
    public:
        GarageDoor() = default;

        void up() {
            std::cout << "Garage Door is Open" << std::endl;
        }

        void down() {
            std::cout << "Garage Door is Closed" << std::endl;
        }

        void stop() {
            std::cout << "Garage Door is Stopped" << std::endl;
        }

        void lightOn() {
            std::cout << "Garage light is on" << std::endl;
        }

        void lightOff() {
            std::cout << "Garage light is off" << std::endl;
        }
    };

} // CommandSR

#endif //DESIGNPATTERN_GARAGEDOOR_H
